package com.nidu.demo.log.convertor;

import com.nidu.demo.convertor.MapStructConfig;
import com.nidu.demo.log.dto.LoginLogPageQry;
import com.nidu.demo.online.dto.OnlineUserPageQry;
import com.nidu.demo.log.model.LoginLogCriteria;
import org.mapstruct.Mapper;

@Mapper(config = MapStructConfig.class)
public interface LoginLogCriteriaConvertor {

    LoginLogCriteria toDataObject(LoginLogPageQry pageQry);

    LoginLogCriteria toDataObject(OnlineUserPageQry pageQry);

}
